<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>版税设置</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/resource/layuiadmin/layui/css/layui.css" media="all">
</head>
<style>
    .layui-form-label{
        width: 110px;
    }
    .layui-form-item .layui-input-inline{
        width: 80px;
    }
</style>
<body>
<div style="padding: 20px; background-color: #F2F2F2;">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <form class="layui-form" action="">
                        <div class="layui-tab layui-tab-card">
                            <ul class="layui-tab-title">
                                <li class="layui-this">版税设置</li>
                                
                            </ul>
                            <div class="layui-tab-content">
                                <!-- 基本设置 -->
                                <div class="layui-tab-item layui-show">
                                    <table class="layui-table" lay-even lay-skin="nob" lay-size="sm">
                                        <thead></thead>
                                        <tbody>
                                            
                                            <tr>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押时间1（天数）</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_day_1" value="{$data.pledge_day_1}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押时间2</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_day_2" value="{$data.pledge_day_2}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押时间3</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_day_3" value="{$data.pledge_day_3}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押时间4</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_day_4" value="{$data.pledge_day_4}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押时间5</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_day_5" value="{$data.pledge_day_5}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                            </tr>

                                            <tr>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押奖励1（日利息0.01为1%）</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_award_1" value="{$data.pledge_award_1}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押奖励2</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_award_2" value="{$data.pledge_award_2}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押奖励3</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_award_3" value="{$data.pledge_award_3}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押奖励4</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_award_4" value="{$data.pledge_award_4}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押奖励5</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_award_5" value="{$data.pledge_award_5}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                            </tr>

                                            <tr>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押1（最小金额）</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_min_1" value="{$data.pledge_min_1}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押1（最大金额）</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_max_1" value="{$data.pledge_max_1}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                               
                                            </tr>
                                            <tr>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押2（最小金额）</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_min_2" value="{$data.pledge_min_2}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押2（最大金额）</label>
                                                        <div class="layui-input-inline" >
                                                            <input type="number" name="pledge_max_3" value="{$data.pledge_max_3}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                               
                                            </tr>
                                            <tr>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押3（最小金额）</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_min_4" value="{$data.pledge_min_4}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押3（最大金额）</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_max_5" value="{$data.pledge_max_5}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                               
                                            </tr>
                                            <tr>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押4（最小金额）</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_min_1" value="{$data.pledge_min_1}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押4（最大金额）</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_max_1" value="{$data.pledge_max_1}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                               
                                            </tr>
                                            <tr>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押5（最小金额）</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_min_1" value="{$data.pledge_min_1}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">质押5（最大金额）</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="pledge_max_1" value="{$data.pledge_max_1}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                               
                                            </tr>
                                            <tr>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">版税买入价格</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="	buy_price" value="{$data.buy_price}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                            </tr>

                                            <tr>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">V1版税卖出收益（买入价格的百分比）</label>
                                                        <div class="layui-input-inline" >
                                                            <input type="number" name="sale_price_precent_1" value="{$data.sale_price_precent_1}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">V2版税卖出收益</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="sale_price_precent_2" value="{$data.sale_price_precent_2}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">V3版税卖出收益</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="sale_price_precent_3" value="{$data.sale_price_precent_3}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">V4版税卖出收益</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="sale_price_precent_4" value="{$data.sale_price_precent_4}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">V5版税卖出收益</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="sale_price_precent_5" value="{$data.sale_price_precent_5}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">V6版税卖出收益</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="sale_price_precent_6" value="{$data.sale_price_precent_6}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                            </tr>

                                            <tr>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">OTC出售手续费</label>
                                                        <div class="layui-input-inline" >
                                                            <input type="number" name="otc_sale_tax" value="{$data.otc_sale_tax}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">OTC交易最小金额</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="otc_min_price" value="{$data.otc_min_price}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">直推版税收益比例</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="commission" value="{$data.commission}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">TRX/usdt</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="trx_percent" value="{$data.trx_percent}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">eth//usdt</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="eth_percent" value="{$data.eth_percent}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                                <td>
                                                    <div class="layui-form-item">
                                                        <label class="layui-form-label">btc/usdt</label>
                                                        <div class="layui-input-inline">
                                                            <input type="number" name="btc_percent" value="{$data.btc_percent}" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                                                        </div>
                                                        <div class="layui-form-mid layui-word-aux"></div>
                                                    </div>
                                                </td>
                                            </tr>
                                            
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item" style="margin-top: 40px;text-align: center;">
                            <div class="layui-input-block">
                                <button class="layui-btn" lay-submit lay-filter="taxset">立即提交</button>
                                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript" src="/resource/plugs/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="/resource/plugs/ueditor/ueditor.all.min.js"></script>
<!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
<!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
<script type="text/javascript" src="/resource/plugs/ueditor/lang/zh-cn/zh-cn.js"></script>
<script src="/resource/layuiadmin/layui/layui.js"></script>
<script src="/resource/js/manage/init_date.js"></script>
<script src="/resource/js/manage/base.js"></script>
<script>
//实例化编辑器
//建议使用工厂方法getEditor创建和引用编辑器实例，如果在某个闭包下引用该编辑器，直接调用UE.getEditor('editor')就能拿到相关的实例
var ue  = UE.getEditor('editor');
var ue2 = UE.getEditor('editor2');
var ue3 = UE.getEditor('editor3');
var ue4 = UE.getEditor('editor4');
var ue5 = UE.getEditor('editor5');
var ue6 = UE.getEditor('editor6');
var ue7 = UE.getEditor('editor7');
</script>
</body>
</html>
